#ifndef _FILES_HEADER_
#define _FILES_HEADER_
#include "Base.h"
#include "GraphicsEngine.h"

using namespace std;

namespace Configs{
	void ValidateConfig(string fName);
	list<string> GetConfig(string fName);
	void SetConfig(string fName, string data);
	void ReplaceConfig(string fName, string data);
}

class FileBuffer{
public:
	FileBuffer(string fileName);
	void SetDir(string nDir);
	string GetDir();
	bool Exists();
	bool Create();
	string Read();
	list<string> ReadLines();
	bool Append(string data);
	bool Replace(string data);
	bool Delete();
private:
	string path;
protected:

};
#endif // _FILES_HEADER_